package main

import (
	"fmt"
	"strconv"
)

func main() {
	d, err := strconv.Atoi("1000")
	if err != nil {
		fmt.Println("str convert failed:", err)
		return
	}

	fmt.Println(d)

	s2 := strconv.Itoa(1235)
	fmt.Printf("type:%T\n", s2)
	s, _ := strconv.ParseBool("t")
	fmt.Println(s)
}
